NMock2 Presentation at Code Camp
NMock2 Presentation at Code Camp
In addition to the other presentations I posted earlier (Speaking at SoCal Rock & Roll Code Camp) , I’ve added one more session for Code Camp. Jason Kerney and I are pairing up to do a session on using dynamic mock objects with the NMock2 framework, which is something we’ve recently been using quite a bit. The talk is titled “A Little Taste of NMock2 For That Smooth Unit-Testing Flavor”.
Mock Objects are a great tool for testing the behavior of your system in a very focused manner. This presentation covers the NMock2 open source dynamic mock object library and shows how you can easily put it to work for you.
We’ll explore how the NMock2 library makes it easy to remove dependencies and test behaviors in unit tests, allowing you to quickly set up tests that confirm your code does what you want it to be doing. Mock objects are very useful when taking a TDD approach, and also provide a great way to explore legacy code you are trying to put under test.
NMock2 is a free, open source dyanmic mock object library that can help you isolate the target and test only the localized functionality. This is very easy to do, and you can be up and running in just a few minutes.
What is Code Camp?
If you are a developer in Southern California you should know about Code Camp – there were 3 events last year – San Diego, Fullerton, and San Luis Obispo. Check out the SoCal Rock and Roll Code Camp in Fullerton in a couple of weeks (Jan. 26 & 27 -2008). I believe there is still time to register.
Here is the blurb from their site:
Code Camp is a place for developers to come and learn from their peers. This community driven event has become an international trend where peer groups of all platforms, programming languages and disciplines band together to bring content to the community. Here in Southern California we add a little spice to our Code Camp by inviting great independent bands to entertain us!
It is free, and there are a lot of very interesting talks scheduled. The dates are January 26th and 27th, which is on the weekend. The hour long talks are scheduled all day long, and it is pretty easy to find something of interest in each time block. There are other activities as well, and there will be hundreds of your peers there to connect with and complain about how your current project is being managed.